package utils;

public class RedisKey {
    private  static  String codePre="code:";
    private  static  String cartPre="code:";
    private  static  String userPre="user:";
    private  static  String idemPre="idem:";
    public static String getCodeKey(String phone){
        return codePre+phone;
    }
    public static String getCartKey(String phone){
        return cartPre+phone;
    }
    public static String getUserKey(String phone){
        return userPre+phone;
    }
    public static String getIdemKey(String token){
        return idemPre+token;
    }
}
